<?php

class Produit{
    private $reference;
    private $prix;
    
        
    function __construct($reference,$prix){
        $this->reference=$reference;
        $this->prix=$prix;
    }
   
    public function getReference(){
        return $this->reference;
    }
    public function getPrix(){
        return $this->prix;
    }
    
public function __toString() {
    return "Reference".$this->reference."Prix".$this->prix;
}

}
?>
